package com.system.service;
import com.system.po.Pinke;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;
/**
 * @author zch
 */
public interface PinkeService {
	int deleteByPrimaryKey(Integer id);
	@Transactional(readOnly = false)
	int insert(Pinke record);
	int insertSelective(Pinke record);
	Pinke selectByPrimaryKey(Integer id);
	List<Pinke> selectAll();
	int updateByPrimaryKeySelective(Pinke record);
	int updateByPrimaryKey(Pinke record);
	int insertOrUpdate(Pinke record);
	int insertOrUpdateSelective(Pinke record);
	int updateBatch(List<Pinke> list);
	int batchInsert(List<Pinke> list);
	int updateByBusNoOpFare(Integer busno, Integer opfare, Integer cardno);
	int updateStateByBusNo(Integer busno);
	Pinke selectByBusNo(Integer busNo);
	List<Map<Object,Object>>  selectAllHandlInfo(Integer cid);
}




